President Obama said laws that would discriminate against members of Mississippi and North Carolina’s LGBT population should be overturned.

In a Friday joint press conference with British Prime Minister David Cameron in London, the president said the laws were “wrong.” North Carolina’s law requires public school and university students to use only those bathrooms that match their birth certificates. It also prevents the state’s cities and counties from passing their own anti-discrimination rules. Instead, the law imposes a statewide standard that leaves out sexual orientation and gender identity.

Mississippi’s law would go into effect on July 1. It would allow organizations to deny services to LGBT people based on their religious beliefs and objections to same sex marriage.

“Although I respect their [legislators] different viewpoints, I think it’s very important not to send signals that anybody is treated differently,” said Obama.