EX-23 4 consentofcounsel0930.txt CONSENT OF COUNSEL EXHIBIT 23.1 CONSENT OF COUNSEL We hereby consent to being named as counsel to BioMarin Pharmaceutical Inc. in their registration statement on Form S-3 (File No. 333-48800), to the reference therein to our firm under the caption "Legal Matters" and to the inclusion of our opinion as previously filed as Exhibit 5.1 to such registration statement. Very truly yours, /s/ Paul, Hastings, Janofsky & Walker LLP PAUL, HASTINGS, JANOFSKY & WALKER September 30, 2002