Jay-Z and Beyonce go to court