here is the text of that infamous law
So I think just by praying in their worship place (Masjid), they were not going against the law.
On another note, What a paradox is that using Islamic terminology, saying azaan in its proper wording, uttering Islamic salam were considered anti-islamic activities. It makes me laugh and cry at the same time.